Optimal. Leaf size=293 \[ \frac {2 \sqrt {c f-d e} \sqrt {\frac {d (e+f x)}{d e-c f}} \sqrt {\frac {d (g+h x)}{d g-c h}} \operatorname {EllipticF}\left (\sin ^{-1}\left (\frac {\sqrt {f} \sqrt {c+d x}}{\sqrt {c f-d e}}\right ),\frac {h (d e-c f)}{f (d g-c h)}\right )}{b \sqrt {f} \sqrt {e+f x} \sqrt {g+h x}}-\frac {2 \sqrt {c f-d e} \sqrt {\frac {d (e+f x)}{d e-c f}} \sqrt {\frac {d (g+h x)}{d g-c h}} \Pi \left (-\frac {b (d e-c f)}{(b c-a d) f};\sin ^{-1}\left (\frac {\sqrt {f} \sqrt {c+d x}}{\sqrt {c f-d e}}\right )|\frac {(d e-c f) h}{f (d g-c h)}\right )}{b \sqrt {f} \sqrt {e+f x} \sqrt {g+h x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.50, antiderivative size = 293, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 6, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.171, Rules used = {175, 121, 120, 169, 538, 537} \[ \frac {2 \sqrt {c f-d e} \sqrt {\frac {d (e+f x)}{d e-c f}} \sqrt {\frac {d (g+h x)}{d g-c h}} F\left (\sin ^{-1}\left (\frac {\sqrt {f} \sqrt {c+d x}}{\sqrt {c f-d e}}\right )|\frac {(d e-c f) h}{f (d g-c h)}\right )}{b \sqrt {f} \sqrt {e+f x} \sqrt {g+h x}}-\frac {2 \sqrt {c f-d e} \sqrt {\frac {d (e+f x)}{d e-c f}} \sqrt {\frac {d (g+h x)}{d g-c h}} \Pi \left (-\frac {b (d e-c f)}{(b c-a d) f};\sin ^{-1}\left (\frac {\sqrt {f} \sqrt {c+d x}}{\sqrt {c f-d e}}\right )|\frac {(d e-c f) h}{f (d g-c h)}\right )}{b \sqrt {f} \sqrt {e+f x} \sqrt {g+h x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 120
Rule 121
Rule 169
Rule 175
Rule 537
Rule 538
Rubi steps
\begin {align*} \int \frac {\sqrt {c+d x}}{(a+b x) \sqrt {e+f x} \sqrt {g+h x}} \, dx &=\frac {d \int \frac {1}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{b}+\frac {(b c-a d) \int \frac {1}{(a+b x) \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{b}\\ &=-\frac {(2 (b c-a d)) \operatorname {Subst}\left (\int \frac {1}{\left (b c-a d-b x^2\right ) \sqrt {e-\frac {c f}{d}+\frac {f x^2}{d}} \sqrt {g-\frac {c h}{d}+\frac {h x^2}{d}}} \, dx,x,\sqrt {c+d x}\right )}{b}+\frac {\left (d \sqrt {\frac {d (e+f x)}{d e-c f}}\right ) \int \frac {1}{\sqrt {c+d x} \sqrt {\frac {d e}{d e-c f}+\frac {d f x}{d e-c f}} \sqrt {g+h x}} \, dx}{b \sqrt {e+f x}}\\ &=-\frac {\left (2 (b c-a d) \sqrt {\frac {d (e+f x)}{d e-c f}}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (b c-a d-b x^2\right ) \sqrt {1+\frac {f x^2}{d \left (e-\frac {c f}{d}\right )}} \sqrt {g-\frac {c h}{d}+\frac {h x^2}{d}}} \, dx,x,\sqrt {c+d x}\right )}{b \sqrt {e+f x}}+\frac {\left (d \sqrt {\frac {d (e+f x)}{d e-c f}} \sqrt {\frac {d (g+h x)}{d g-c h}}\right ) \int \frac {1}{\sqrt {c+d x} \sqrt {\frac {d e}{d e-c f}+\frac {d f x}{d e-c f}} \sqrt {\frac {d g}{d g-c h}+\frac {d h x}{d g-c h}}} \, dx}{b \sqrt {e+f x} \sqrt {g+h x}}\\ &=\frac {2 \sqrt {-d e+c f} \sqrt {\frac {d (e+f x)}{d e-c f}} \sqrt {\frac {d (g+h x)}{d g-c h}} F\left (\sin ^{-1}\left (\frac {\sqrt {f} \sqrt {c+d x}}{\sqrt {-d e+c f}}\right )|\frac {(d e-c f) h}{f (d g-c h)}\right )}{b \sqrt {f} \sqrt {e+f x} \sqrt {g+h x}}-\frac {\left (2 (b c-a d) \sqrt {\frac {d (e+f x)}{d e-c f}} \sqrt {\frac {d (g+h x)}{d g-c h}}\right ) \operatorname {Subst}\left (\int \frac {1}{\left (b c-a d-b x^2\right ) \sqrt {1+\frac {f x^2}{d \left (e-\frac {c f}{d}\right )}} \sqrt {1+\frac {h x^2}{d \left (g-\frac {c h}{d}\right )}}} \, dx,x,\sqrt {c+d x}\right )}{b \sqrt {e+f x} \sqrt {g+h x}}\\ &=\frac {2 \sqrt {-d e+c f} \sqrt {\frac {d (e+f x)}{d e-c f}} \sqrt {\frac {d (g+h x)}{d g-c h}} F\left (\sin ^{-1}\left (\frac {\sqrt {f} \sqrt {c+d x}}{\sqrt {-d e+c f}}\right )|\frac {(d e-c f) h}{f (d g-c h)}\right )}{b \sqrt {f} \sqrt {e+f x} \sqrt {g+h x}}-\frac {2 \sqrt {-d e+c f} \sqrt {\frac {d (e+f x)}{d e-c f}} \sqrt {\frac {d (g+h x)}{d g-c h}} \Pi \left (-\frac {b (d e-c f)}{(b c-a d) f};\sin ^{-1}\left (\frac {\sqrt {f} \sqrt {c+d x}}{\sqrt {-d e+c f}}\right )|\frac {(d e-c f) h}{f (d g-c h)}\right )}{b \sqrt {f} \sqrt {e+f x} \sqrt {g+h x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 1.77, size = 202, normalized size = 0.69 \[ -\frac {2 i \sqrt {c+d x} \sqrt {\frac {d (g+h x)}{d g-c h}} \left (\operatorname {EllipticF}\left (i \sinh ^{-1}\left (\sqrt {\frac {f (c+d x)}{d e-c f}}\right ),\frac {d e h-c f h}{d f g-c f h}\right )-\Pi \left (\frac {b (c f-d e)}{(b c-a d) f};i \sinh ^{-1}\left (\sqrt {\frac {f (c+d x)}{d e-c f}}\right )|\frac {d e h-c f h}{d f g-c f h}\right )\right )}{b \sqrt {e+f x} \sqrt {g+h x} \sqrt {\frac {f (c+d x)}{d (e+f x)}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 382, normalized size = 1.30 \[ \frac {2 \sqrt {d x +c}\, \sqrt {f x +e}\, \sqrt {h x +g}\, \sqrt {\frac {\left (d x +c \right ) f}{c f -d e}}\, \sqrt {-\frac {\left (h x +g \right ) d}{c h -d g}}\, \sqrt {-\frac {\left (f x +e \right ) d}{c f -d e}}\, \left (c f \EllipticF \left (\sqrt {\frac {\left (d x +c \right ) f}{c f -d e}}, \sqrt {\frac {\left (c f -d e \right ) h}{\left (c h -d g \right ) f}}\right )-c f \EllipticPi \left (\sqrt {\frac {\left (d x +c \right ) f}{c f -d e}}, -\frac {\left (c f -d e \right ) b}{\left (a d -b c \right ) f}, \sqrt {\frac {\left (c f -d e \right ) h}{\left (c h -d g \right ) f}}\right )-d e \EllipticF \left (\sqrt {\frac {\left (d x +c \right ) f}{c f -d e}}, \sqrt {\frac {\left (c f -d e \right ) h}{\left (c h -d g \right ) f}}\right )+d e \EllipticPi \left (\sqrt {\frac {\left (d x +c \right ) f}{c f -d e}}, -\frac {\left (c f -d e \right ) b}{\left (a d -b c \right ) f}, \sqrt {\frac {\left (c f -d e \right ) h}{\left (c h -d g \right ) f}}\right )\right )}{\left (d f h \,x^{3}+c f h \,x^{2}+d e h \,x^{2}+d f g \,x^{2}+c e h x +c f g x +d e g x +c e g \right ) b f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {d x + c}}{{\left (b x + a\right )} \sqrt {f x + e} \sqrt {h x + g}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {\sqrt {c+d\,x}}{\sqrt {e+f\,x}\,\sqrt {g+h\,x}\,\left (a+b\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {c + d x}}{\left (a + b x\right ) \sqrt {e + f x} \sqrt {g + h x}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________